<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<title>注册</title>
	<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" media="all">
	<link rel="stylesheet" href="/FortAwesome-Font-Awesome-ee55c85/css/font-awesome.css">
	<link rel="stylesheet" type="text/css" href="/css/reg.css" media="all">
	<!-- <link rel="stylesheet" type="text/css" href="css/background.css" media="all"> -->
</head>
<body>
	<div class="container">
		
		<%--top --%>
		<%@ include file="include/top.jsp" %>
		<%--head --%>
		<%@ include file="include/head.jsp" %>
		
		<div class="content">
			<ul class="breadcrumb">
			  <li><a href="userIndex.jspx">首页</a> <span class="divider">/</span></li>
			  <li class="active">用户注册</li>
			</ul>
			<form class="form-horizontal" action="reg.jspx" method="post">
			  <c:if test="${requestScope.state==10003}">
				<div class="alert alert-error"> 
				  <button type="button" class="close" data-dismiss="alert">&times;</button>
				  <strong>注册失败！</strong>输入有误！请重新输入
				</div>
			  </c:if>
			  <div class="control-group">
			    <label class="control-label" for="inputEmail"><i class="icon-asterisk" style="font-size:8px;"></i>用户名</label>
			    <div class="controls">
			      <input type="text" id="inputEmail" placeholder="用户名" name="username">
			      <span>由大小写英文字母、数字和下划线组成，长度4-20位。</span>
			    </div>
			  </div>
			  <div class="control-group">
			    <label class="control-label" for="inputPassword"><i class="icon-asterisk" style="font-size:8px;"></i>密码</label>
			    <div class="controls">
			      <input type="password" id="inputPassword" placeholder="密码" name="password">
			      <span>建议8位以上的数字字母和下划线组成</span>
			    </div>
			  </div>
			  <div class="control-group">
			    <label class="control-label" for="inputEmail"><i class="icon-asterisk" style="font-size:8px;"></i>确认密码</label>
			    <div class="controls">
			      <input type="password" id="inputEmail" placeholder="确认密码" name="repassword">
			      <span>请再次输入密码</span>
			    </div>
			  </div>
			  <div class="control-group">
			    <label class="control-label" for="inputPassword"><i class="icon-asterisk" style="font-size:8px;"></i>邮箱</label>
			    <div class="controls">
			      <input type="text" id="inputPassword" placeholder="邮箱" name="email">
			      <span>我们会将注册信息发送到该地址，同时Email也是“找回密码”的唯一途径</span>
			    </div>
			  </div>
			  <div class="control-group">
			    <div class="controls">
			      <label class="checkbox">
			        <input type="checkbox" name="isAgree"> 我以阅读并同意用户注册协议
			      </label>
			      <button type="submit" class="btn btn-warning">注册</button>
			    </div>
			  </div>
			</form>
		</div>
		<%--foot --%>
		<%@ include file="include/foot.jsp" %>
		
		<div class="clear"></div>
		
	</div>

	
</body>

</html>